package com.woniu.elderly.serve.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.common.dto.ServeWorkOrderDTO;
import com.woniu.common.entity.DealOrder;
import com.woniu.common.entity.ServeWorkOrder;

public interface ServeWorkOrderService extends IService<ServeWorkOrder> {
    Page<ServeWorkOrder> findAll(int pageIndex, int pageSize, ServeWorkOrderDTO serveWorkOrderDTO);
    ServeWorkOrder findById(int id);
    void add(DealOrder dealOrder);
    int add(ServeWorkOrder serveWorkOrder);
    void remove(int id);
    void modify(ServeWorkOrder serveWorkOrder);
}
